﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VietThinks.Model;

namespace VietThinks.Mapping.Maps
{
    public class PromotionMap : DomainEntityMap<Promotion>
    {
        public PromotionMap()
        {
            Schema("Product");
            Table("Promotion");
            References(m => m.Product, "ProductId");
            Map(m => m.SalePrice);
        }
    }
}
